#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <math.h>
int main() {
    int a, b, c;
    float s, area;
    scanf("%d %d %d", &a, &b, &c);
    s = a + b + c;
    area = sqrt(s / 2 * (s / 2 - a) * (s / 2 - b) * (s / 2 - c));
    printf("circumference=%.2f area=%.2f", s, area);
    return 0;
}